package com.atung.request;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import javax.validation.constraints.Size;

import com.atung.model.CompanionDTO;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("RequestApplyRout")
public class RequestApplyRout implements Serializable{/**
	 * 
	 */
	private static final long serialVersionUID = 5265453749285155015L;
	
	
	@ApiModelProperty("发布路线id")
	private Long publishRoutId;
	
	@ApiModelProperty("用户标识")
	private String openId;
	
	@Size(min=1)
	@ApiModelProperty("乘车人员信息")
	private List<CompanionDTO> companionlist;
	
	@ApiModelProperty("支付总价")
	private BigDecimal  totalPrices;
}
